home *** CD-ROM | disk | FTP | other *** search
/ The Net Power 1997 April / NETDisc0497.iso / mac / Demos / HomeDoor Bundle / HomeDoor / UG / SampleHostsFiles / HomeDoorSampleHosts.txt < prev    next >
Encoding:
Text File  |  1995-11-25  |  2.2 KB  |  52 lines  |  [TEXT/ttxt]

  1. ; Sample hosts file demonstrating how to configure a DNS to work with
  2. ; HomeDoor to serve a number of virtual domains from one Web server.
  3.  
  4. ; This is the "root" hosts file, usually just called "hosts"
  5.  
  6. ; ORIGIN
  7. ; The origin is appended to all domain names not ending in a "." (period)
  8. ; This line indicates the underlying domain name of your Web server
  9. $ORIGIN yourwebserver.com.
  10.  
  11. ; START OF AUTHORITY INFORMATION
  12. ; "@" stands for "yourwebserver.com."
  13. ; "dns.yourwebserver.com" is the name of your domain name server
  14. ; "hostmaster.yourwebserver.com." is the e-mail address of the
  15. ;       person running your DNS (the first "." replaces the @ sign)
  16. ; Change the serial number any time you change this file
  17. @                           IN      SOA     dns.yourwebserver.com.     hostmaster.yourwebserver.com.  (
  18.                              9511141       ; serial number (yymmddn)
  19.                              36000           ; refresh (every 10 hours)
  20.                              7200             ; retry (after 2 hours)
  21.                              604800         ; expire (after 1 week)
  22.                              86400 )         ; minimum time to live (1 day)
  23.  
  24. ; NAME SERVERS
  25. ; The names of your primary and secondary DNS servers
  26. ; These names must have been set up by your provider
  27.                         IN      NS      dns.yourwebserver.com. 
  28.                         IN      NS      dns2.yourwebserver.com. 
  29.  
  30. ; MAIL EXCHANGERS
  31. ; The name of the machine providing mail service for your domain
  32. ; 10 is the mail priority
  33. ; "yourmailserver.com" is the name of your mail server
  34. ; You don't need this line if your provider is maintaining this for you
  35.                         IN      MX      10 yourmailserver.com. 
  36.  
  37. ; HOST ADDRESSES
  38. ; The address of your actual Web server
  39. ; You don't need this line if your provider is maintaining this name for you
  40. www.yourwebserver.com.   IN      A      10.0.0.254
  41.  
  42. ; FILES TO INCLUDE
  43. ; In these files you define the domain names for HomeDoor's addresses
  44. $INCLUDE CompanyXHosts.txt      ; CompanyX.com info
  45. $INCLUDE CompanyYHosts.txt      ; CompanyY.com info
  46.  
  47. ; ReverseZones holds reverse information for mapping addresses to names
  48. ; RootServers holds top level domain information
  49. $INCLUDE ReverseZones.txt
  50. $INCLUDE RootServers.txt
  51.  
  52.